﻿using System;
using Kaiser.Models;

namespace Kaiser.Modules.Hiner.Models.Order.SearchModels
{
    public class OrderSearch:OrderBase
    {
        private string _supplierId;

        public OrderSearch()
        {
            //OrderDeliveryDateRange = new DateTimeRange();
        }

        /// <summary>
        /// 交货时间范围
        /// </summary>
        public DateTimeRange OrderDeliveryDateRange { get; set; }

        /// <summary>
        /// 订单时间范围
        /// </summary>
        public DateTimeRange OrderDateRange { get; set; }

        /// <summary>
        /// 产品主键标识
        /// </summary>
        public string ProductId { get; set; }

        /// <summary>
        /// 供应商标识
        /// </summary>
        public string SupplierId
        {
            get { return _supplierId; }
            set { _supplierId = value; }
        }


        public string ProductHDECode { get; set; }
        public string ProductHinerCode { get; set; }
        public string ProductOERef { get; set; }
        public string SupplierCode { get; set; }

        public string MinPrice { get; set; } 
        public string MaxPrice { get; set; }
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }
        public string OrderNo { get; set; }
        public string OrderContacts { get; set; }
        public DateTime? SumbitStartTime { get; set; }
        public DateTime? SumbitEndTime { get; set; }
        public string OrderStatus { get; set; }
    }
}
